<template>
  <el-dialog :title="title" :visible.sync="baseDialog" :show-close="false" :width="width" :lock-scroll="false" :close-on-click-modal="false">
    <slot name="body">

    </slot>
    <slot name="footer">

    </slot>
  </el-dialog>
</template>
<style>
.el-dialog__body {
  padding: 10px 20px 30px 20px;
}
</style>
<script>
export default {
  props: {
    width: {
      type: String,
      default: "30%"
    },
    title: {
      type: String,
      default: ""
    },
    baseDialog: {
      type: Boolean,
      default: false
    }
  }
};
</script>
